package com.yb.nowcoder;

import java.util.Scanner;

/**
 * 华为机试练习第5题
 */
public class Main7 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNextFloat()) {
            Float f = in.nextFloat();
            int m = f.intValue();
            m = m + (f - m >= 0.5 ? 1 : 0);
            System.out.print(m);
        }
    }
}
